<html>
  <head>
    <title>Type-ahead-find options</title>
    <script type="text/javascript" src="options.js"></script>
  </head>
    
  <body>
    <h2>Options</h2>
        
    <div id="options">
      <label for="direct_search_mode">
        <select id="direct_search_mode">
          <option value="text">Text</option>
          <option value="links">Links</option>
          <option value="disabled">Disabled</option>
        </select>
        Direct search state
      </label>
      <br />
      
      <label for="starts_link_only"> 
        <input id="starts_link_only" type="checkbox" value="1" />
        Search only start of text when searching links
      </label>
      <br />
      
      <label for="timeout"> 
        Timeout: <input id="timeout" type="text" size="2" />
        Hide search box after this time (in seconds). Leave emtpy to disable timeout. 
      </label>
      <br />

      <label for="color_link"> 
        Color of the search box in link mode: 
        <input id="color_link" type="text" value="" size="7" />
      </label>
      <br />

      <label for="color_text"> 
        Color of the search box in text mode: 
        <input id="color_text" type="text" value="" size="7" />
      </label>
      <br />

      <label for="color_notfound"> 
        Color of the search box when no match 
        <input id="color_notfound" type="text" value="" size="7" />
      </label>
      <br />
      
      <h3>Blacklisted sites</h3>
      <label for="sites_blacklist"> 
        Add URLs for those sites where the extension will be completely disabled. Advanced users can use regular-expressions (begin the line with <strong>|</strong>).
      </label>
      <br />
      <textarea id="sites_blacklist" cols="60" rows="10"></textarea>
      <br />Example: <i>https://mail.google.com/*</i><br/>
      <br />
      <br />
      <button id="save">Save</button>
      &nbsp;<span id="status"></span>
    </div>
   
    <h2>How to use this extension</h2>
    <div id="info">
      <ul>
        <li>Write directly or press <strong>/</strong> to search text.</li>
        <li>Press <strong>'</strong> to search text links.</li>
        <li>Use <i>F3</i> or <i>Control+G</i> or <i>Alt+N/P</i> to switch between matches.</li>        
        <li>Use <i>F4</i> to toggle matching mode (text/links) once the search has started.</li>
      </ul>               
    </div>

    <h2>Issue 150</h2>

    <p>Although this extension tries to do the job the best it can, by no means it can work as well and fast as a core feature. <a href="http://code.google.com/p/chromium/issues/detail?id=150">Issue 150</a> was opened a long time asking for type-ahead to be implemented in Chromium, but -to everybody's surprise- the report was closed <b>the same day</b> with a <i>WontFix</i>. Dozens of angry comments didn't change that, so <b>all we can do now is star the issue</b>. If the issue makes its place amongst the most voted request maybe Chromium developers will rethink their decision.</p>
    <hr />
    Check the <a href="http://code.google.com/p/chrome-type-ahead/">Chrome-ahead-find website</a> for more information about this extension.    
  </body>
</html>
